import { Avatar } from './account'
import { BettingSelection } from './sports'
import { BettingResult, BettingMethod } from '@/enums'
export interface FeedType {
	id: number
	userId: string
	userName: string
	userNick: string
	avatar: Avatar
	vip: number
	star: number
	seasonRank: number
	medal: any
	createdAt: Date
	settledAt: Date
	content: string
	at: any[]
	stake: number
	potentialReturns: number
	selections: BettingSelection[]
	followNum: number
	praiseNum: number
	isPraised: boolean
	commentNum: number
	orderNo: string
	orderType: BettingMethod
	currency: string
	trueOdds: string
	displayOdds: string
	location: number
	isHide: boolean
	outcome: BettingResult
	isCashout: boolean
	winAmount: number
	comboPrize: number
	maxReturn: number
	comboPrizeOdds: string
	bonus: Bonus
	status: string
	isLive: boolean
	isLiveBet: boolean
	comboBonusPercent: string
	potentialMaxReturn: number
}

export interface Bonus {
	bonusId: number
	bonusName: string
	worth: number
	icon: string
}

export interface CommentType {
	id: string
	userId: string
	userNick: string
	userName: string
	avatar: Avatar
	content: string
	createdAt: Date
	location: number
	medal: any[]
}

export interface BetType {
	id: string
	orderNo: string
	betOrderId: string
	userId: string
	locale: string
	isLiveBet: boolean
	trueOdds: string
	displayOdds: string
	orderType: string
	status: string
	oddsStyle: string
	isAcceptOddsChange: number
	selections: BettingSelection[]
	isFollow: boolean
	stake: number
	potentialReturns: number
	potentialMaxReturn: number
	winAmount: number
	comboPrize: number
	comboPrizeOdds: string
	comboBonusPercent: number
	followLosePrize: number
	followedWinPrize: number
	followedLosePrize: number
	total: number
	maxReturn: number
	outcome: BettingResult
	isCashout: boolean
	createdAt: Date
	settledAt: Date
	bonus: Bonus
	isLive: boolean
}
